import Cookies from 'js-cookie'
import config from '@/config'

export function getToken() {
  return Cookies.get(config.app.token.key)
}

export function setToken(token) {
  return Cookies.set(config.app.token.key, token)
}

export function removeToken() {
  return Cookies.remove(config.app.token.key)
}
